<template>
    <page-body>
        <view class="page">
            <view class="flex flex-direction flex-wrap align-stretch justify-center benben-position-layout flex helpFeedback_flex_0" :style="{height:(88+StatusBarRpx)+'rpx',paddingTop:StatusBarRpx+'rpx', }">
                <view class='flex flex-wrap align-stretch justify-between helpFeedback_fd0_0'>
                    <view class='flex flex-wrap align-center helpFeedback_fd0_0_c0' @tap.stop="handleJumpDiy" data-type="back" data-url="1">
                        <text class='fu-iconfont2  helpFeedback_fd0_0_c0_c0'>&#xe794;</text>
                    </view>
                    <view class='flex flex-wrap align-center'>
                        <text class='helpFeedback_fd0_0_c1_c0'>帮助与反馈</text>
                    </view>
                    <view class='flex align-center justify-end helpFeedback_fd0_0_c2'>
                    </view>
                </view>

            </view>
            <view :style="{height: (88+StatusBarRpx)+'rpx'}"></view>
            <!---flex布局flex布局开始-->
			<fu-loading v-if="isShow"></fu-loading>
			<view class="" v-if="!isShow">
				<!-- <template v-for='(item,flex1) in dataMessage'> -->
				    <view class="flex flex-direction flex-wrap align-stretch helpFeedback_flex_1" >
				        <view class='flex flex-direction align-stretch helpFeedback_fd1_0'>
				            <template v-for='(child,key1) in dataMessage'>
				                <view class='flex flex-wrap align-center justify-between helpFeedback_fd1_0_c0' @tap.stop="handleJumpDiy" data-type="navigateTo" 
								:data-url="`/pages/userSet/helpDetails/helpDetails?id=${child.aid}`">
				                    <text class='helpFeedback_fd1_0_c0_c0'>{{child.title}}</text>
				                    <text class='fu-iconfont2  helpFeedback_fd1_0_c0_c1'>&#xE7F2;</text>
				                </view>
				            </template>
				
				        </view>
				    </view>
				<!-- </template> -->
				<view v-if="dataMessage.length == 0" class="text-xl text-center text-gray flex flex-direction align-center justify-center"
					style="margin-top: 20%;">
					<image :src='STATIC_URL+"137.png"' mode="widthFix" style="width:400rpx;"></image>
				</view>
			</view>
            
			

            <!---flex布局flex布局结束-->


        </view>
    </page-body>
</template>
<script>
    import pagingList from '@/common/mixin/paging_list.js';
    import {
        validate
    } from '@/common/utils/validate.js'

    export default {
        components: {},
        // mixins: [pagingList],

        data() {
            return {
                "minixPagingListsApi": "",
                "pageingListApiMethod": "",
                "allowOnloadGetList": false,
                "dataMessage": [],
				isShow:false
            };
        },
        computed: {

        },
        watch: {},
        onLoad(options) {
			this.isShow = true
            this.getListFunc()
        },
        onUnload() {

        },
        onReady() {

        },
        onShow() {

        },
        onHide() {

        },
        onResize() {

        },
        onPullDownRefresh() {

        },
        onReachBottom(e) {

        },
        onPageScroll(e) {

        },
        methods: {
            //文章管理-获取文章列表
            async getListFunc() {
				let datauser = await this.$api.get(global.apiUrls.post66767b8c324c4, {
					user_role:uni.getStorageSync('tabberType') || 1
				});
				if (datauser.data.code != 1) {
					this.postType = false
				    this.$message.info(datauser.data.msg);
				    return
				}
				console.log(datauser,123)
				this.dataMessage = datauser.data.data
				this.isShow = false
				
    //             this.minixPagingListsApi = global.apiUrls.post66767b8c324c4;
    //             this.pageingListApiMethod = 'get';
    //             this.allowOnloadGetList = false;
    //             this.pagingListPostDataContent = {
				// 	user_role:uni.getStorageSync('tabberType') || 1
				// }
    //             this.listData = [];
    //             this.dataMessage = this.listData;
    //             this.pagingListToggle();

            },
            pagingListPostData() {
                return this.pagingListPostDataContent
            }
        }
    };
</script>
<style lang="scss" scoped>
    .page {
        width: 100vw;
        overflow-x: hidden;
        min-height: calc(100vh - var(--window-bottom));
        background: var(--benbenbgColor1);
        background-size: 100% auto;
    }

    .helpFeedback_flex_0 {
        border-bottom: 1px solid rgba(238, 238, 238, 1);
        background: #fff;
        width: 750rpx;
        height: 88rpx;
        overflow: hidden;
        z-index: 10;
        top: 0rpx;
        background-size: 100% auto !important;
    }

    .helpFeedback_fd0_0_c2 {
        padding: 0rpx 0rpx 0rpx 0rpx;
        width: 100rpx;
    }

    .helpFeedback_fd0_0_c1_c0 {
        font-size: 36rpx;
        font-weight: 500;
        color: var(--benbenFontColor0);
    }

    .helpFeedback_fd0_0_c0_c0 {
        font-size: 36rpx;
        font-weight: 400;
        color: #333;
    }

    .helpFeedback_fd0_0_c0 {
        width: 100rpx;
    }

    .helpFeedback_fd0_0 {
        padding: 0rpx 32rpx 0rpx 32rpx;
        line-height: 88rpx;
    }

    .helpFeedback_flex_1 {
        font-size: 32rpx;
    }

    .helpFeedback_fd1_0_c0_c1 {
        font-size: 26rpx;
        color: rgba(153, 153, 153, 1);
    }

    .helpFeedback_fd1_0_c0_c0 {
        font-size: 36rpx;
        color: var(--benbenFontColor0);
        font-weight: 400;
        line-height: 50rpx;
    }

    .helpFeedback_fd1_0_c0 {
        border-bottom: 1px solid #eee;
        padding: 32rpx 0rpx 32rpx 0rpx;
        margin: 0rpx 32rpx 0rpx 32rpx;
    }

    .helpFeedback_fd1_0 {
        background: var(--benbenbgColor1);
        background-size: 100% auto !important;
    }
</style>